package com.woniu.postbar.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.entity.Result;
import com.woniu.postbar.entity.vo.UserPostVO;
import com.woniu.postbar.pojo.PostCollect;
import com.woniu.postbar.pojo.UserPost;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wu
 * @since 2023-05-20
 */
public interface IUserPostService extends IService<UserPost> {

    List<UserPostVO> listAnnouncement(String title);

    boolean addPost(UserPost userPost);

    List<UserPost> userTimeCategorize();


    List<UserPost> userCommentCategorize();
}
